package com.yhp.service;

import com.yhp.bean.Menu;
import com.yhp.bean.Role;
import com.yhp.bean.Users;

import java.util.List;

public interface MenuService {
    //查询菜单列表
    public List<Menu> getMenuList();

    public List<Menu> getMenuLists(int pageIndex, int pageSize);
    public int total();
    public int insertMenu(Menu menu);
    public Menu findById(int mid);
    public int updateMenu(Menu menu);
    public int delMenu(int mid);

}
